package com.zxjbyte.yiyi.module.upms.service;

import com.zxjbyte.yiyi.framework.common.domain.api.PageResult;
import com.zxjbyte.yiyi.framework.mybatis.service.BaseServiceX;
import com.zxjbyte.yiyi.module.upms.domain.entity.UserPO;
import com.zxjbyte.yiyi.module.upms.domain.param.UserAddParam;
import com.zxjbyte.yiyi.module.upms.domain.param.UserListParam;
import com.zxjbyte.yiyi.module.upms.domain.param.UserUpdateParam;
import com.zxjbyte.yiyi.module.upms.domain.vo.UserDetailVO;
import com.zxjbyte.yiyi.module.upms.domain.vo.UserListVO;

/**
 * @Author zhangxingjia
 * @Date 2024/9/9 19:38
 * @Version: 1.0
 */
public interface UserService extends BaseServiceX<UserPO> {

    PageResult<UserListVO> list(UserListParam param);

    UserDetailVO detail(Long id);

    void addUser(UserAddParam addParam);

    void updateUser(UserUpdateParam updateParam);

    void deleteUser(Long id);
}
